import pandas as pd
pd.set_option('display.unicode.east_asian_width',True)
df = pd.read_excel('城镇单位就业人员年平均工资.xlsx',sheet_name='按登记注册类型',index_col=0)
df.drop('数据来源：国家统计局',inplace=True)
df.loc['2001-2020年外商投资单位就业人员的年平均工资']=[112089,106604,99367,90064,82902,76302,69826,63171,
                                 55888,48869,41739,37101,34250,29594,26552,23625,22250,21016,19409,17553]
print('删除数据后的表:\n',df)